package gVehicle.service.impl;


import gVehicle.bean.*;
import gVehicle.mapper.NewCarMapper;
import gVehicle.service.NewCarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;



@Service
public class NewCarServiceImpl implements NewCarService {


    @Autowired
    private NewCarMapper newCarMapper;


    @Override
    public List<CarRealtime> getCarRealtime() {
        return newCarMapper.getCarRealtime();
    }

    @Override
    public List<carTry> getCarTry() {
        return newCarMapper.getCarTry();
    }

    @Override
    public List<VehicleCount> getVehicleCount() {
        return newCarMapper.getVehicleCount();
    }

    @Override
    public List<VehicleDwsBatteryHealth> getVehicleDwsBatteryHealth() {
        return newCarMapper.getVehicleDwsBatteryHealth();
    }

    @Override
    public List<VehicleGeohashVinCount> getVehicleGeohashVinCount() {
        return newCarMapper.getVehicleGeohashVinCount();
    }

    @Override
    public List<VehicleStatus> getVehicleStatus() {
        return newCarMapper.getVehicleStatus();
    }

    @Override
    public Double getUvCount(String date) {
        return newCarMapper.getUvCount(date);
    }
}
